<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <#include "../common.ftl" >
</head>
<body>
<#-- 用户ID -->
<form class="layui-form" style="width:80%;">
<input name="id" type="hidden" value="${(emp.id)!}"/>
<div class="layui-form-item layui-row layui-col-xs6">
    <label class="layui-form-label">用户名</label>
    <div class="layui-input-block">
        <input type="text" class="layui-input userName" readonly
               lay-verify="required" name="userName" id="userName" value="${(emp.empName)!}" placeholder="请输入用户名">
    </div>
</div>

<div class="layui-form-item layui-row layui-col-xs6">
    <label class="layui-form-label">邮箱</label>
    <div class="layui-input-block">
        <input type="text" class="layui-input userEmail"
               lay-verify="email" name="empEmail" value="${(emp.empEmail)!}"
               id="email"
               placeholder="请输入邮箱">
    </div>
</div>
<div class="layui-form-item layui-row layui-col-xs6">
    <label class="layui-form-label">年龄</label>
    <div class="layui-input-block">
        <input type="text" class="layui-input userEmail"
               name="empAge" value="${(emp.empAge)!}"
               id=""
               placeholder="请输入年龄">
    </div>
</div>

    <div class="layui-form-item layui-row layui-col-xs6">
        <label class="layui-form-label">手机号</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input userEmail"
                   lay-verify="" name="empPhone" value="${(emp.empPhone)!}"
                   id=""
                   placeholder="">
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs6">
        <label class="layui-form-label">岗位</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input userEmail"
                   <#if emp.isLeader == 0>
                       value ="员工"
                   </#if>
                    <#if emp.isLeader ==1>
                        value ="组长"
                    </#if>
                   lay-verify="" name="" value="${(emp.empPhone)!}"
                   id=""
                   placeholder="">
        </div>
    </div>



<br/>
<div class="layui-form-item layui-row layui-col-xs12">
    <div class="layui-input-block">
        <button class="layui-btn layui-btn-lg" lay-submit=""
                lay-filter="updateUser">保存
        </button>

    </div>
</div>
<script src="${ctx}/layuimini/js/emp/update.js" charset="UTF-8"></script>
</form>
</body>
</html>



